{% extends "base.html" %}
{% block title %}Showing cloths in category{{clothcategory_name}}{% endblock %}
{% block content %}
ClothCategory contains {{num_results}} cloths.
<table>
{% for row in cloths %}
<tr>
{% for cloth in row %}
<td>
  <a href='/show_cloth/{{cloth.key}}'>
      <img src='/thumbnail/{{cloth.key}}'>
  </a>
</td>
{% endfor %}
</tr>
{% endfor %}
</table>
<a href='/'>Browse categories</a><br>
<a href='/upload/{{clothcategory_key}}'>Upload new cloth</a>
{% endblock content %}
